﻿using Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LDM.Sys.ServiceAPI.Model.ViewModel.Request.AuthorityReq
{
    /// <summary>
    /// 获取后台管理用户信息请求
    /// </summary>
    public class GetSysAccountReq : PageInfo
    {
        /// <summary>
        /// 昵称
        /// </summary>
        public string? NickName { get; set; }

        /// <summary>
        /// 英文账号
        /// </summary>
        public string? EnglishAccount { get; set; }
    }
    /// <summary>
    /// 添加后台管理用户信息请求
    /// </summary>
    public class AddSysAccountReq
    {
        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 英文账号
        /// </summary>
        public string EnglishAccount { get; set; }

        /// <summary>
        /// 用户类型
        /// </summary>
        public int UserType { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
    }
    /// <summary>
    /// 修改后台管理用户信息请求
    /// </summary>    
    public class UpdateSysAccountReq
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 英文账号
        /// </summary>
        public string EnglishAccount { get; set; }

        /// <summary>
        /// 用户类型
        /// </summary>
        public int UserType { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
    }
    /// <summary>
    /// 删除后台管理用户信息请求
    /// </summary>    
    public class DelSysAccountReq
    {

        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
    }
}
